
var design_data = function(){
	var data_id = $(this).attr("data_id");
	var project_id = $.trim($("#project_id").val());
	if("gdb" == data_id || "swzysbjgzwb" == data_id || "sjzyjszbb" == data_id){
		var url = base+"/projectCenter/businessdata/totalDesignDataManage";
		$.post(url,{
			project_id:project_id,
			table_name:data_id
		},function(result){
		  	   $(".layui-show").html("");
		  	   $(".layui-show").html(result);
		});
	}else if("fwb" == data_id){
		var url = base+"/projectCenter/designcell/dcsjInfos/"+project_id+"/jsjg";
		$.get(url,function(result){
		  	   $(".layui-show").html("");
		  	   $(".layui-show").html(result);
		});
	}/*else if("dcssgmb" == data_id){
		//动车设施规模表
	}*/
}

$(function(){
	$(".layui-tab-title li").click(design_data);
	$(".layui-this").trigger("click");
})
